package 设计模式第一章;
class Head {
    public Eye eye;

    public Head() {
        this.eye = new Eye();
    }
}
class Eye {
    public void look() {
        System.out.println("睁眼看世界..........");
    }
}
public class 组合关系 {
    public static void main(String[] args) {
       /* Head head = new Head();
        head.eye.look();*/
    }
}
